package com.angel.dto;

import com.angel.bean.Product;
import com.angel.bean.ProductType;

public class ProductDto {

    private Product product;
    private ProductType productType;

    public ProductDto(Product product, ProductType productType) {
        this.product = product;
        this.productType = productType;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public ProductType getProductType() {
        return productType;
    }

    public void setProductType(ProductType productType) {
        this.productType = productType;
    }

    @Override
    public String toString() {
        return "ProductDto{" +
                "product=" + product +
                ", productType=" + productType +
                '}';
    }
}
